﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Csla;
using log4net;

namespace Sireass.Bl
{
	[Serializable]
	public class UsuarioCriteria : CriteriaBase<UsuarioCriteria>
	{
		public static PropertyInfo<long> IdPersonaProperty = RegisterProperty<long>(c => c.IdPersona);
		public long IdPersona
		{
			get { return ReadProperty(IdPersonaProperty); }
			private set { LoadProperty(IdPersonaProperty, value); }
		}
		public static PropertyInfo<bool> DummyProperty = RegisterProperty<bool>(c => c.Dummy);
		public bool Dummy 
		{
			get { return ReadProperty(DummyProperty); }
			private set { LoadProperty(DummyProperty, value); } 
		}
		public UsuarioCriteria(long idPersona, bool dummy)
		{
			IdPersona = idPersona;
			Dummy = dummy;
		}
	}
}
